package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjFactoryAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 厂商账号表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-02-27
 */
@Repository
public interface ZjFactoryAccountMapper extends BaseMapper<ZjFactoryAccount> {

    /**
     * 根据手机号获取品牌商家账号信息
     * @param phone 手机号
     * @return
     */
    ZjFactoryAccount getByPhone(@Param("phone") String phone);
}
